﻿namespace ShanNiang.Service.PackingModes.Responses
{
    /// <summary>
    /// 用户响应
    /// </summary>
    public class UserResponse
    {
        public UserResponse()
        {
            MenuCodes = new List<string>();
        }
        /// <summary>
        /// 昵称
        /// </summary>
        public string? Nickname { get; set; }

        /// <summary>
        /// 真实姓名
        /// </summary>
        public string? Realname { get; set; }

        ///// <summary>
        ///// 身份证号码
        ///// </summary>
        //public string? IDCardNo { get; set; }

        /// <summary>
        /// 头像资源ID
        /// </summary>
        public Guid? HeadImgResourceId { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public int? Gender { get; set; }

        /// <summary>
        /// 手机号码
        /// </summary>
        public string? PhoneNumber { get; set; }

        ///// <summary>
        ///// 上一次使用手机号
        ///// </summary>
        //public string? LastMobilephone { get; set; }
        ///// <summary>
        ///// 上一次使用头像
        ///// </summary>
        //public string? LastHeadImg { get; set; }
        ///// <summary>
        ///// 编码
        ///// </summary>
        //public string? Code { get; set; }

        /// <summary>
        /// 头像
        /// </summary>
        public string? HeadImg { get; set; }

        ///// <summary>
        ///// 密码
        ///// </summary>
        //public string? Password { get; set; }
        /// <summary>
        /// 是否锁定
        /// </summary>
        public bool IsLock { get; set; }
        public List<string> MenuCodes { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTimeOffset? CreatedTime { get; set; }

        /// <summary>
        /// Identityserver的开放Id
        /// </summary>
        public string? IdsOpenId { get; set; }

        /// <summary>
        /// 是否通过实人认证
        /// </summary>
        public bool RealPeopleConfirmed { get; set; }

        /// <summary>
        /// 是否绑定微信公众号
        /// </summary>
        public bool IsBindWeChat { get; set; }

        /// <summary>
        /// 绑定微信的时间
        /// </summary>
        public DateTimeOffset? TimeOfBindingWechat { get; set; }
        /// <summary>
        /// 是否注销
        /// </summary>
        public bool IsLogedOff { get; set; }
        /// <summary>
        /// 是否开启服务通知
        /// </summary>
        public bool OpenServiceNotice { get; set; }
        /// <summary>
        /// 企业ID
        /// </summary>
        public Guid? EnterpriseId { get; set; }
        /// <summary>
        /// 角色名
        /// </summary>
        public string? RoleName { get; set; }
    }
}
